package com.xzlf.job.spring;

import com.xzlf.job.ScheduleOfTask;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Slf4j
public class DynamicPrintTask1 extends ScheduleOfTask {

    @Override
    protected void exectue() {
        log.info("DynamicPrintTask 1-->执行线程：{}， 执行时间：{}", Thread.currentThread().getId(), new Date());
    }
}
